/**
 * *****************************************************************
 * @file    adt3102_i2c.h
 * @author  WuHao(hwu@andartechs.com.cn)
 * @version 1.0.0
 * @date    2020-11-09
 * @brief   memory                   address                size
 *          CODE RAM          0x0000_8000-0x0000_ffff       32KB     coding memory
 *          DATA RAM          0x2000_0000-0x2000_7fff       32KB     stack and heap
 *          DATA RAM          0x2000_8000-0x2001_7fff       64KB     adc0 ,fft data
 *          DATA RAM          0x2001_8000-0x2002_7fff       64KB     adc1 ,fft data
 *
 *                 Copyright (c) 2020, Andar Technologies Inc.
 *                           www.andartechs.com 
 *
 * *****************************************************************
 */
#ifndef __MEM_SCHDULING_H
#define __MEM_SCHDULING_H
/*------------------------------ include -------------------------------------*/
#include "adt3102_type_define.h"


/*------------------------------ function ------------------------------------*/
/**
 * @brief   adt3102 memory scheduling.
 * @param   srcAddre: memory source address.
 * @param   dstAddre: memory destination address.
 * @param   srcStep: memory source address increment steps.
 * @param   dstStep: memory destination address increment steps.
 * @param   transLen: memory count need to transfer.
 * @return  None.
 * @note    function example : 
  uint32 testArray[5] = {0x01, 0x02, 0x03, 0x04, 0x05};
  uint32 testArray1[5];
  memScheduling((uint32)&testArray, (uint32)&testArray1, 4, 4, 5);
 */
void memScheduling(
     uint32 srcAddre, 
     uint32 dstAddre, 
     uint16 srcStep, 
     uint16 dstStep, 
     uint16 transLen);


#endif


